// 共享数据的getters
export default {
  username: state => state.user.token.username,
  user_photo: state => state.user.token.user_photo,
  token: state => state.user.token,
  id: state => state.user.token.id,
  address: state => state.cart.defaultAddress,
  active: state => state.cart.active
}
